﻿<link href="../Public/css/style.css" rel="stylesheet" type="text/css" />
<!-- 加载头部公共文件 -->
<include file="../Public/head" />
<link rel="stylesheet" type="text/css" href="/Public/Js/DTree/dtree.css">
<script type="text/javascript" src="/Public/Js/DTree/dtree.js"></script>
<form method='post' action="__URL__" >
  <table width="98%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="8" height="8"><img src="../Public/images/index1_28.gif" width="8" height="39" /></td>
      <td width="99%" background="../Public/images/index1_40.gif">&nbsp;</td>
      <td width="8" height="8"><img src="../Public/images/index1_43.gif" width="8" height="39" /></td>
    </tr>
    <tr>
      <td background="../Public/images/index1_45.gif"></td>
      <td bgcolor="#FFFFFF" style="height:490px; vertical-align:top;"><table width="100%" border="0" cellspacing="10" cellpadding="0">

          <tr>
            <td>
            	<ul class="opt_list">
                	<li><a href="__URL__/index/tpl_type/base" >基础模板</a></li>
                    <li><a href="__URL__/index/tpl_type/tag"  >标签模板</a></li>
                    <li><a href="__URL__/index/tpl_type/news_list" >列表模板</a></li>
                    <li><a href="__URL__/index/tpl_type/news_content">内容模板</a></li>
                    <li><a href="__URL__/update_tpl" class="focus">刷新模板</a></li>
                </ul>
            </td>
          </tr>
          <tr>
            <td>
             	<fieldset >
             		<legend>操作</legend>
            	
				<div  class="row">
					<div class="impBtn hMargin fLeft shadow" >
					  <input type="button" name="Submit" style="width:120px; " value="更新模板"  class="update imgButton" onClick="update_tpl()"  />
					</div>
					
					<div class="impBtn hMargin fLeft shadow" >
					  <input type="button" name="Submit" style="width:120px; " value="清除缓存"  class="del imgButton"  onClick="del_cache()"/>
					</div>
				</div>
				</fieldset>
            </td>
          </tr>
          <tr>
            <td></td>
          </tr>
        </table>
          <h3>&nbsp;</h3>
      </td>
      <td background="../Public/images/index1_47.gif"></td>
    </tr>
    <tr>
      <td width="8" height="8"><img src="../Public/images/index1_91.gif" width="8" height="8" /></td>
      <td background="../Public/images/index1_92.gif"></td>
      <td width="8" height="8"><img src="../Public/images/index1_93.gif" width="8" height="8" /></td>
    </tr>
  </table>

</form>


<!-- js 脚本 -->
<script language="javascript">
<!--
$(document).ready(function(){

	setListStyle("tb_list");

});



function update_tpl()
{
	$('form').attr('action','__URL__/create_tpl');
	$('form')[0].submit();
}


function del_cache()
{
	$('form').attr('action','__URL__/del_cache');
	$('form')[0].submit();
}









//-->
</script>
<!-- 主页面结束 -->
<!-- 加载尾部公共文件 -->
<include file="../Public/foot" />